package com.cskaoyan.catmall.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;


@Component
public interface ConfigMapper {

    // 通过关键字key查找对应的value
    String selectByKeyName(String market_mall);

    // 通过关键字key更新对应的value
    int updateByKeyValue(@Param("market_mall") String market_mall, @Param("value") String value, @Param("date") String date);
}